package com.yc.entities.custom;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author kukaha
 * @version 1.0.0
 * @ClassName CustomChartResponseBean.java
 * @Description TODO
 * @createTime 2021年04月17日 17:09:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CustomDataBean对象", description = "折线图点数据")
public class CustomDataBean  implements Serializable {

    private static final long serialVersionUID = 1L;



    private Double value;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    private Date date;

}
